package com.beikai.demo01.sort;

import com.beikai.demo01.sort.impl.*;

/**
 * Created with IntelliJ IDEA.
 *
 * @author : hanbeikai
 * Date: 2021/6/4 3:31 下午
 * Description: 排序方法
 */
public class SortDemo {

    public static void main(String[] args) {

        int[] arr = new int[]{9,8,7,6,5,10,3,2,1,1};

        ArrSort arrSort = new HeapSort();
        arrSort = new KuaiSuSort();
        arrSort = new XuanZeSort();
        arrSort = new MaoPaoSort();
        arrSort = new ChaRuSort();
        arrSort = new GuiBingSort();
        arrSort.printSortArr(arr);
    }
}
